<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
?>
<div class="page-title category-title contact-title">
	<h1><?php echo $this->__('Contact Us');?></h1>
</div>
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>

<div class="row">
		<div class="col-md-6 salamy-google-map">
			<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('google-map')->toHtml() ?>
		</div>

		<div class="col-md-6 form-info-contact">
			<form class="contact-form" action="<?php echo Mage::getUrl(); ?>contacts/index/post/" id="contactForm" method="post">
				<div class="fieldset">
					<ul class="form-list">
						<li class="fields">
							<div class="field user-name-ct">
								<div class="input-box">
									<input name="name" id="name" placeholder="<?php echo $this->__('Name*');?>" title="<?php echo Mage::helper('contacts')->__('Name') ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserName()) ?>" class="input-text required-entry" type="text" />
								</div>
							</div>
							<div class="field user-email-ct">
								<div class="input-box">
									<input name="email" id="email" placeholder="<?php echo $this->__('Email*');?>" title="<?php echo Mage::helper('contacts')->__('Email') ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserEmail()) ?>" class="input-text required-entry validate-email" type="text" />
								</div>
							</div>
						</li>
						<li>
							<div class="input-box">
								<input name="subject" id="subject" placeholder="<?php echo $this->__('Subject*');?>" title="<?php echo Mage::helper('contacts')->__('Title') ?>"  class="input-text required-entry" type="text" />  
							</div>
						</li>
						<li class="wide comment-input">
							<div class="input-box">
								<textarea name="comment" id="comment" placeholder="<?php echo $this->__('Comment...');?>" title="<?php echo Mage::helper('contacts')->__('Comment') ?>"   class="required-entry input-text" cols="10" rows="7"></textarea>
							</div>
						</li>
					</ul>
				</div>
				<div class="buttons-set">
					<input type="text" name="hideit" id="hideit" value="" style="display:none !important;" />
					<button type="submit" title="<?php echo Mage::helper('contacts')->__('Send Email') ?>" class="button"><span><span><?php echo Mage::helper('contacts')->__('Send Email') ?></span></span></button>
				</div>
			</form>
		</div>

		<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('contact-us-bottom')->toHtml() ?>
		
		
</div>
<script type="text/javascript">
//<![CDATA[
    var contactForm = new VarienForm('contactForm', true);
//]]>
</script>